how to intersect triangular prisms